<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <meta http-equiv="X-UA-Compatible" content="ie=edge" />
  <title>英雄联盟官方网站</title>
  <style>
    body,
    dl,
    dd,
    ul,
    ol,
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    p,
    form {
      margin: 0;
    }

    body,
    button,
    input,
    select,
    textarea {
      font: 12px/1.5 tahoma, "\5FAE\8F6F\96C5\9ED1", sans-serif;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
      font-size: 100%;
    }

    em,
    b {
      font-style: normal;
    }

    a {
      text-decoration: none;
    }

    a:hover {
      text-decoration: underline;
    }

    img {
      border: 0;
    }

    button,
    input,
    select,
    textarea {
      font-size: 100%;
      outline: none;
    }

    table {
      border-collapse: collapse;
      border-spacing: 0;
    }

    td,
    th,
    ul,
    ol {
      padding: 0;
    }

    ul,
    ol,
    dl {
      list-style: none;
    }

    .clearfix:after {
      visibility: hidden;
      display: block;
      font-size: 0;
      content: " ";
      clear: both;
      height: 0;
    }

    .clearfix {
      *zoom: 1;
    }

    /*通用底部样式*/
    #afooter {
      background: #000000;
      text-align: center;
      position: relative;
      z-index: 10;
    }

    #afooter .wrap_ieg {
      width: 1240px;
      margin: 0 auto;
      padding: 30px 0;
    }

    #afooter p {
      color: #6e6e6e;
      line-height: 24px;
      font-size: 10px;
    }

    #afooter a {
      color: #6e6e6e;
      font-size: 12px;
    }

    .fl {
      float: left;
    }

    .fr {
      float: right;
    }

    .chromeframe {
      display: none !important;
    }

    .comm-head {
      position: relative !important;
      background: #000000;
    }

    .comm-topact {
      display: none;
    }

    html,
    body {
      background: #000;
    }

    .g-wrap {
      position: relative;
      width: 100%;
      max-width: 1920px;
      min-width: 1240px;
      overflow: hidden;
      height: 990px;
      margin: 0 auto;
      z-index: 1;
    }

    /*自定义样式 开始*/
    .hid {
      text-indent: -9999px;
      font-size: 0px;
      overflow: hidden;
      width: 0px;
      height: 0px;
      display: block;
    }

    .bg {
      position: relative;
      min-width: 1240px;
      overflow: hidden;
    }

    .bg {
      background: url(./lib/images/home/bg.jpg) no-repeat 50% 0;
    }

    .bgc {
      background: url(./lib/images/home/bgc.jpg) no-repeat;
      width: 1000px;
      height: 990px;
      margin: 0 auto;
      position: relative;
    }

    .banner {
      width: 1000px;
      height: 990px;
      overflow: hidden;
      background: url(./lib/images/home/banner.png) no-repeat center top;
      background-size: 100% auto;
      position: absolute;
      top: 0;
      left: 0;
      z-index: 98;
      -webkit-animation: fadeInUpBigger 0.8s 0.8s both;
      -moz-animation: fadeInUpBigger 0.8s 0.8s both;
      -ms-animation: fadeInUpBigger 0.8s 0.8s both;
      -o-animation: fadeInUpBigger 0.8s 0.8s both;
      animation: fadeInUpBigger 0.8s 0.8s both;
    }

    .topVideo {
      width: 1920px;
      height: 990px;
      display: block;
      position: absolute;
      top: 0;
      left: 50%;
      margin-left: -960px;
      pointer-events: none;
      overflow: hidden;
    }

    .btn-div {
      width: 980px;
      height: 120px;
      margin: 0 auto;
      padding-top: 780px;
      text-align: center;
      -webkit-animation: fadeInUp 0.8s 0.8s both;
      -moz-animation: fadeInUp 0.8s 0.8s both;
      -ms-animation: fadeInUp 0.8s 0.8s both;
      -o-animation: fadeInUp 0.8s 0.8s both;
      animation: fadeInUp 0.8s 0.8s both;
      font-size: 0;
      position: relative;
      z-index: 98;
    }

    .btn-div a {
      display: inline-block;
      *display: inline;
      *zoom: 1;
      vertical-align: top;
      width: 252px;
      height: 102px;
      background: url(./lib/images/home/btn.png) no-repeat;
      transition: transform 0.3s;
      margin: 0 35px;
    }

    .btn-div a.btn-1 {
      background-position: 0 0;
    }

    .btn-div a.btn-2 {
      background-position: -280px 0;
    }

    .btn-div a.btn-3 {
      background-position: -560px 0;
    }

    .btn-div a.btn-4 {
      background-position: -840px 0;
    }

    .btn-div a:hover {
      transform: translateY(-10px);
      background-position-y: -102px;
    }

    @keyframes fadeInUp {
      from {
        opacity: 0;
        -webkit-transform: translateY(15px);
        -ms-transform: translateY(15px);
        -o-transform: translateY(15px);
        transform: translateY(15px);
      }

      to {
        opacity: 1;
        transform: none;
      }
    }

    @-webkit-keyframes fadeInUp {
      from {
        opacity: 0;
        -webkit-transform: translateY(15px);
        -ms-transform: translateY(15px);
        -o-transform: translateY(15px);
        transform: translateY(15px);
      }

      to {
        opacity: 1;
        transform: none;
      }
    }

    @-moz-keyframes fadeInUp {
      from {
        opacity: 0;
        -webkit-transform: translateY(15px);
        -ms-transform: translateY(15px);
        -o-transform: translateY(15px);
        transform: translateY(15px);
      }

      to {
        opacity: 1;
        transform: none;
      }
    }

    @-ms-keyframes fadeInUp {
      from {
        opacity: 0;
        -webkit-transform: translateY(15px);
        -ms-transform: translateY(15px);
        -o-transform: translateY(15px);
        transform: translateY(15px);
      }

      to {
        opacity: 1;
        transform: none;
      }
    }

    @-o-keyframes fadeInUp {
      from {
        opacity: 0;
        -webkit-transform: translateY(15px);
        -ms-transform: translateY(15px);
        -o-transform: translateY(15px);
        transform: translateY(15px);
      }

      to {
        opacity: 1;
        transform: none;
      }
    }

    @keyframes fadeInUpBigger {
      from {
        opacity: 0;
        -webkit-transform: translateY(120px) scale(0);
        -ms-transform: translateY(120px) scale(0);
        -o-transform: translateY(120px) scale(0);
        transform: translateY(120px) scale(0);
      }

      to {
        opacity: 1;
        transform: none;
      }
    }

    @-webkit-keyframes fadeInUpBigger {
      from {
        opacity: 0;
        -webkit-transform: translateY(120px) scale(0);
        -ms-transform: translateY(120px) scale(0);
        -o-transform: translateY(120px) scale(0);
        transform: translateY(120px) scale(0);
      }

      to {
        opacity: 1;
        transform: none;
      }
    }

    @-moz-keyframes fadeInUpBigger {
      from {
        opacity: 0;
        -webkit-transform: translateY(120px) scale(0);
        -ms-transform: translateY(120px) scale(0);
        -o-transform: translateY(120px) scale(0);
        transform: translateY(120px) scale(0);
      }

      to {
        opacity: 1;
        transform: none;
      }
    }

    @-ms-keyframes fadeInUpBigger {
      from {
        opacity: 0;
        -webkit-transform: translateY(120px) scale(0);
        -ms-transform: translateY(120px) scale(0);
        -o-transform: translateY(120px) scale(0);
        transform: translateY(120px) scale(0);
      }

      to {
        opacity: 1;
        transform: none;
      }
    }

    @-o-keyframes fadeInUpBigger {
      from {
        opacity: 0;
        -webkit-transform: translateY(120px) scale(0);
        -ms-transform: translateY(120px) scale(0);
        -o-transform: translateY(120px) scale(0);
        transform: translateY(120px) scale(0);
      }

      to {
        opacity: 1;
        transform: none;
      }
    }

    /*自定义样式 结束*/
  </style>
  <link rel="stylesheet" href="./lib/css/home/topfoot.css" />
  <link rel="stylesheet" href="./lib/css/login/index.css">
</head>

<body>
  <!-- 头部 -->
  <div class="comm-head">
    <div class="head-normal">
      <!--logo-->
      <a class="logo" href="/" title="英雄联盟官网">
        <img src="./lib/images/home/logo.png" alt="英雄联盟" width="132" height="49" />
      </a>
      <!--官网导航-->
      <ul class="head-nav">
        <li>
          <a href="javascript:;" target="_blank" onclick="pgvSendClick({hottag:'v3.top.subnav.info.heros'})">
            <span class="head-nav-title">游戏资料</span>
            <span class="head-nav-subtitle">GAME INFO</span>
          </a>
        </li>
        <li>
          <a>
            <span class="head-nav-title">商城/合作</span>
            <span class="head-nav-subtitle">STORE</span>
          </a>
        </li>
        <li>
          <a>
            <span class="head-nav-title">社区互动</span>
            <span class="head-nav-subtitle">COMMUNITY</span>
          </a>
        </li>
        <li>
          <a href="javascript:;" target="_blank" onclick="pgvSendClick({hottag:'v3.top.subnav.match.lpl'})"
            title="LPL赛事官网">
            <span class="head-nav-title">赛事官网</span>
            <span class="head-nav-subtitle">ESPORTS</span>
          </a>
        </li>
        <li>
          <a>
            <span class="head-nav-title">自助系统</span>
            <span class="head-nav-subtitle">SYSTEM</span>
          </a>
        </li>
      </ul>
      <!--玩家信息-->
      <div class="head-userinfo-normal">
        <div class="head-userinfo-avatar">
          <img src="./lib/images/home/default2.png" alt="玩家头像" width="36" height="auto" />
          <span></span>
          <a href="javascript:;" target="_blank" class="herf-mask" title="个人中心"></a>
        </div>
        <div class="head-userinfo-brief">
          <p class="unlogin">
            亲爱的召唤师，欢迎<a href="javascript:;" class="login">登录</a>
          </p>
          <p class="login-unbindarea" style="display: none">
            请<a href="javascript:T_Login.changeArea()">绑定大区</a>或<a href="javascript:T_Login.logout()">注销</a>
          </p>
          <p class="logined" style="display: none">
            <a class="logined-name"></a><a class="logined-logout" href="javascript:T_Login.logout()">[注销]</a>
          </p>
        </div>
      </div>
      <!--掌盟图标-->
      <span class="head-app-normal">
        <a target="_blank" href="javascript:;" onclick="pgvSendClick({hottag:'v3.top.top.zmpc'})"
          class="comm-icon-phone"></a>
      </span>
      <!--搜索按钮-->
      <a class="head-search-btn" id="J_headSearchBtn" href="javascript:" title="搜索">
        <i class="comm-icon-search"></i>
      </a>
      <!--hover:掌盟二维码-->
      <div class="head-app-hover">
        <i class="head-zm-qrcode">
          <img src="./lib/images/home/zm-qrcode.jpg" alt="掌盟App二维码" width="119" height="119" />
        </i>
        <p class="p1">扫码下载掌上英雄联盟</p>
        <img class="polo" src="./lib/images/home/polo.gif" alt="魄罗" width="50" height="50" />
      </div>
      <!--登录hover-->
      <div class="head-login-hover">
        <div class="unlogin">
          <p class="p1">
            登录并且绑定大区后才可以查看您的具体信息哦<br />
            (包括战绩、资产、声望）
          </p>
          <p class="p2">
            官网个人信息显示略有延迟，请以游戏数据为准
          </p>
        </div>
        <div class="logined" style="display: none;">
          <div class="logined-top">
            <a class="select-area" href="javascript:T_Login.changeArea()"></a>
            <a class="user-name"></a>
          </div>
          <ul class="logined-ul">
            <li class="user-rank">
              <div class="img-wrap">
                <img src="./lib/images/home/default.png" alt="段位" id="commHeadTierImg" />
              </div>
              <a class="a1" id="commHeadTier">暂无段位</a><br />
              <a class="a2" id="commHeadQueue"></a>
            </li>
            <li class="user-datalist">
              <a class="a1" id="commHeadWinRate">--</a><br /><a class="a2">胜率</a>
            </li>
            <li class="user-datalist">
              <a class="a1" id="commHeadMatchCount">--</a><br /><a class="a2">总场次</a>
            </li>
            <li class="user-datalist">
              <a class="a1" id="commHeadJingCui">--</a><br /><a class="a2">蓝色精粹</a>
            </li>
            <li class="user-datalist">
              <a class="a1" id="commHeadDianQuan">--</a><br /><a class="a2">点券</a>
            </li>
          </ul>
          <p class="p2">
            官网个人信息显示略有延迟，请以游戏数据为准
          </p>
        </div>
        <a href="" class="href-gouserhome">进入个人中心<i class="more-arrow"></i></a>
      </div>
    </div>
    <!--hover:官网导航子菜单-->
    <div class="head-nav-sub">
      <div class="head-nav-sub-inner">
        <ul>
          <li>
            <a class="head-nav-sub-a" onclick="pgvSendClick({hottag:'v3.top.subnav.info.what'})"
              href="/data/newbie-what.shtml" target="_blank">新手指引</a>
            <a class="head-nav-sub-a" onclick="pgvSendClick({hottag:'v3.top.subnav.info.heros'})"
              href="/data/info-heros.shtml" target="_blank"><i class="icon-hot"></i>资料库</a>
            <!--<a class="head-nav-sub-a" onclick="pgvSendClick({hottag:'v3.top.subnav.info.guides'})" href="/web201310/101/guides.shtml">战争学院</a>-->
            <!--<a class="head-nav-sub-a" onclick="pgvSendClick({hottag:'v3.top.subnav.user.video'})" href="javascript:;" target="_blank">视频中心</a>-->
            <a class="head-nav-sub-a" onclick="pgvSendClick({hottag:'v3.top.subnav.info.guides'})" href="/guide/"
              target="_blank">攻略中心</a>
            <a class="head-nav-sub-a" onclick="pgvSendClick({hottag:'v3.top.subnav.info.nexus'})" href="/nexus/pc/"
              target="_blank"><i class="icon-new"></i>开发者基地</a>
            <!--<a class="head-nav-sub-a" onclick="pgvSendClick({hottag:'v3.top.subnav.info.rgm'})" href="/act/a20160412rgm/" target="_blank">模式实验室</a>-->
            <a class="head-nav-sub-a" onclick="pgvSendClick({hottag:'v3.top.subnav.info.loot'})"
              href="/act/a20171205hextech/" target="_blank">海克斯战利品库</a>
            <a class="head-nav-sub-a" onclick="pgvSendClick({hottag:'v3.top.subnav.info.jax'})"
              href="/act/a20180615armmaster/index.htm" target="_blank"><i class="icon-new"></i>武器大师竞技场</a>
            <!--<a class="head-nav-sub-a" onclick="pgvSendClick({hottag:'v3.top.subnav.info.protect'})" href="/act/a20161101pbcxym/" target="_blank">屏保下载</a>-->
            <a class="head-nav-sub-a" onclick="pgvSendClick({hottag:'v3.top.subnav.info.yz'})" href="javascript:;"
              target="_blank">宇宙官网</a>
          </li>
          <li>
            <a class="head-nav-sub-a" onclick="pgvSendClick({hottag:'v3.top.subnav.store.pay'})" target="_blank"
              href="javascript:;"><i class="publicspr ico-h"></i>点券充值</a>
            <a class="head-nav-sub-a" onclick="pgvSendClick({hottag:'v3.top.subnav.store.daoju'})" target="_blank"
              href="javascript:;">道聚城</a>
            <a class="head-nav-sub-a" onclick="pgvSendClick({hottag:'v3.top.subnav.store.mall'})" href="javascript:;"
              target="_blank"><i class="icon-hot"></i>周边商城</a>
            <a class="head-nav-sub-a" onclick="pgvSendClick({hottag:'v3.top.subnav.store.mvm'})" href="javascript:;"
              target="_blank">LOL桌游</a>
            <a class="head-nav-sub-a" onclick="pgvSendClick({hottag:'v3.top.subnav.store.cmb'})" href="javascript:;"
              target="_blank">LOL信用卡</a>
            <a class="head-nav-sub-a" onclick="pgvSendClick({hottag:'v3.top.subnav.store.netbar'})" href="javascript:;"
              target="_blank">网吧特权</a>
            <a class="head-nav-sub-a" onclick="pgvSendClick({hottag:'v3.top.subnav.store.txt'})"
              href="/act/a20181124novel/?ADTAG=innercop.lol.web.top" target="_blank"><i class="icon-new"></i>电竞小说</a>
          </li>
          <li>
            <!--<a class="head-nav-sub-a" onclick="pgvSendClick({hottag:'v3.top.subnav.user.active'})" href="/web201310/active.shtml" target="_blank"><i class="icon-hot"></i>活动中心</a>-->
            <a class="head-nav-sub-a" onclick="pgvSendClick({hottag:'v3.top.subnav.user.community'})"
              href="javascript:;" target="_blank">官方社区</a>
            <a class="head-nav-sub-a" onclick="pgvSendClick({hottag:'v3.top.subnav.user.video'})"
              href="/v/v2/index.shtml" target="_blank">视频中心</a>
            <a class="head-nav-sub-a" onclick="pgvSendClick({hottag:'v3.top.subnav.user.bbs'})" target="_blank"
              href="javascript:;">官方论坛</a>
            <a class="head-nav-sub-a" onclick="pgvSendClick({hottag:'v3.top.subnav.user.weixin'})"
              href="/act/a20160425wxlol/" target="_blank">官方微信</a>
            <a class="head-nav-sub-a" onclick="pgvSendClick({hottag:'v3.top.subnav.user.weibo'})" href="javascript:;"
              target="_blank">官方微博</a>
            <a class="head-nav-sub-a" onclick="pgvSendClick({hottag:'v3.top.subnav.user.tr'})" href="javascript:;"
              target="_blank"><i class="icon-new"></i>玩家创作馆</a>
            <a class="head-nav-sub-a" onclick="pgvSendClick({hottag:'v3.top.subnav.user.kol'})" href="javascript:;"
              target="_blank"><i class="icon-new"></i>作者入驻计划</a>
            <a class="head-nav-sub-a" onclick="pgvSendClick({hottag:'v3.top.subnav.user.playerservice'})"
              href="javascript:;" target="_blank"><i class="icon-new"></i>玩家服务</a>
          </li>
          <li>
            <a class="head-nav-sub-a" onclick="pgvSendClick({hottag:'v3.top.subnav.match.lpl'})" target="_blank"
              href="javascript:;"><i class="icon-new"></i>LPL职业联赛</a>
            <a class="head-nav-sub-a" onclick="pgvSendClick({hottag:'v3.top.subnav.match.ldl'})" target="_blank"
              href="javascript:;">LDL发展联赛</a>
            <a class="head-nav-sub-a" onclick="pgvSendClick({hottag:'v3.top.subnav.match.msi'})" target="_blank"
              href="javascript:;">季中冠军赛</a>
            <a class="head-nav-sub-a" onclick="pgvSendClick({hottag:'v3.top.subnav.match.iti'})" target="_blank"
              href="javascript:;">洲际系列赛</a>
            <!--          <a class="head-nav-sub-a" onclick="pgvSendClick({hottag:'v3.top.subnav.match.music'})" target="_blank" href="/act/a20181104music/index.html?ADTAG=innercop.lol.web.top"><i class="icon-hot"></i>音乐节暨颁奖之夜</a>-->
            <a class="head-nav-sub-a" onclick="pgvSendClick({hottag:'v3.top.subnav.match.s8'})" target="_blank"
              href="javascript:;">全球总决赛</a>
            <a class="head-nav-sub-a" onclick="pgvSendClick({hottag:'v3.top.subnav.match.music'})" target="_blank"
              href="javascript:;">全明星赛</a>
            <!--          <a class="head-nav-sub-a" onclick="pgvSendClick({hottag:'v3.top.subnav.match.demacia'})" target="_blank"-->
            <!--             href="javascript:;">德玛西亚杯</a>-->
            <!--<a class="head-nav-sub-a" onclick="pgvSendClick({hottag:'v3.top.subnav.match.s7'})" target="_blank" href="javascript:;">全球总决赛</a>-->
            <a class="head-nav-sub-a" onclick="pgvSendClick({hottag:'v3.top.subnav.match.lcl'})" target="_blank"
              href="javascript:;">高校联赛</a>
            <!--          <a class="head-nav-sub-a" onclick="pgvSendClick({hottag:'v3.top.subnav.match.gxzfs'})" target="_blank" href="javascript:;">高校自发赛</a>-->
            <a class="head-nav-sub-a" onclick="pgvSendClick({hottag:'v3.top.subnav.match.city'})" target="_blank"
              href="javascript:;">城市英雄争霸赛
            </a>
          </li>
          <li>
            <!--<a href="/act/a20110613icon/?ADTAG=lolweb.v3" target="_blank" onclick="pgvSendClick({hottag:'v3.sidenav.icon'})"><i class="icon-icon"></i>点亮图标</a>-->
            <a class="head-nav-sub-a" onclick="pgvSendClick({hottag:'v3.top.subnav.system.online'})" href="javascript:;"
              target="_blank">在线客服</a>
            <a class="head-nav-sub-a" onclick="pgvSendClick({hottag:'v3.top.subnav.system.icon'})" target="_blank"
              href="/act/a20170608transferzone/index.html?ADTAG=lolweb.v3"><i class="icon-new"></i>转区系统</a>
            <!--<a class="head-nav-sub-a" onclick="pgvSendClick({hottag:'v3.top.subnav.system.rs'})" target="_blank" href="/rs/">声望系统</a>-->
            <a class="head-nav-sub-a" onclick="pgvSendClick({hottag:'v3.top.subnav.system.fenghao'})" target="_blank"
              href="/act/a20151118fh/"><i class="icon-hot"></i>封号查询</a>
            <a class="head-nav-sub-a" onclick="pgvSendClick({hottag:'v3.top.subnav.system.exp'})" target="_blank"
              href="/act/a20110907exp/">体验服申请</a>
            <a class="head-nav-sub-a" onclick="pgvSendClick({hottag:'v3.top.subnav.system.replay'})" target="_blank"
              href="/act/a20170728replay/">回放系统</a>
            <a class="head-nav-sub-a" onclick="pgvSendClick({hottag:'v3.top.subnav.system.server'})" target="_blank"
              href="/act/a20150326dqpd/">服务器状态查询</a>
            <a class="head-nav-sub-a" onclick="pgvSendClick({hottag:'v3.top.subnav.system.justice'})" target="_blank"
              href="/act/a20171108ambient/index.html"><i class="icon-new"></i>秩序殿堂</a>
            <a class="head-nav-sub-a" onclick="pgvSendClick({hottag:'v3.top.subnav.system.cjf'})" target="_blank"
              href="/act/a20170704super/index.shtml?e_code=336975"><i class="icon-new"></i>峡谷之巅</a>
          </li>
        </ul>
      </div>
    </div>
    <!--hover:搜索-->
    <div class="search-hover-wrap">
      <div class="search-hover-inner">
        <a href="javascript:" class="btn-search" id="J_hoverSearchBtn" title="点击搜索">
          <i class="comm-icon-search"></i>
        </a>
        <input type="text" id="J_hoverSearchInput" class="input-search" placeholder="搜索 lol.qq.com"
          autocomplete="off" />
        <a class="btn-close-search" id="J_btnCloseSearch" href="javascript:" title="关闭搜索">
          <i class="icon-xx-1"></i>
        </a>
        <div class="search-hover-bottom">
          <span class="hover-bottom-s1">搜索记录</span>
          <ul class="search-direct-href"></ul>
          <a class="hover-bottom-s2" href="javascript:" id="J_hoverClearRecord">清除记录</a>
        </div>
      </div>
    </div>
  </div>

  <!-- 视频 -->
  <div class="g-wrap">
    <!--自定义HTML内容 开始 -->
    <div class="bg">
      <div class="bgc">
        <h1 class="hid">我们是冠军</h1>
        <div class="banner"></div>
        <div class="topVideo">
          <video class="topVid" autoplay="autoplay" loop="loop" muted="">
            <source src="./lib/images/home/video.webm" type="video/webm" />
            <source src="./lib/images/home/video.mp4" type="video/mp4" />
          </video>
        </div>
        <div class="btn-div">
          <a href="javascript:;" class="btn-1" title="进入官网"><i></i></a>
          <a href="javascript:;" class="btn-2" target="_blank" title="2019季中冠军赛"><i></i></a>
          <!--<a href="javascript:;" class="btn-4" target="_blank"  title="阵营与任务" onclick="pgvSendClick({hottag:'index.201904msi.btn.link'});"><i></i></a>-->
          <a href="javascript:;" class="btn-3" title="下载游戏"><i></i></a>
        </div>
      </div>
    </div>
    <!--自定义HTML内容 结束-->
  </div>

  <!-- 底部 -->
  <div id="afooter">
    <div id="footer_ieg">
      <div class="wrap_ieg">
        <p>
          <a href="javascript:;" target="_blank">腾讯互动娱乐</a>&nbsp;|&nbsp;<a href="javascript:;"
            target="_blank">服务条款</a>&nbsp;|&nbsp;<a href="javascript:;" target="_blank">腾讯游戏隐私保护指引</a>&nbsp;|&nbsp;<a
            href="javascript:;" target="_blank">腾讯游戏招聘</a>&nbsp;|&nbsp;<a href="javascript:;"
            target="_blank">腾讯游戏客服</a>&nbsp;|&nbsp;<a href="javascript:;" target="_blank">游戏地图</a>&nbsp;|&nbsp;<a
            href="javascript:;" target="_blank">成长守护平台</a>&nbsp;|&nbsp;<a href="javascript:;"
            target="_blank">商务合作</a>&nbsp;|&nbsp;<a href="javascript:;" target="_blank">网站导航</a>
        </p>
        <p class="e copyright_en">
          COPYRIGHT © 1998 – 2019 TENCENT. ALL RIGHTS RESERVED.
        </p>
        <p class="copyright_zh">
          <a href="javascript:;" target="_blank">腾讯公司 版权所有</a>
        </p>
      </div>
    </div>
  </div>
  <!-- 登录 -->
  <div class="boxbg">
    <div class="box">
      <div class="head"></div>
      <p class="title">账号密码登录</p>
      <p class="border">推荐使用
        <a href="javascript:;">快速安全登录</a>，防止盗号。
      </p>
      <form class="denglu" method="POST">
        <input type="text" name="email" placeholder="支持QQ号/邮箱/手机号登录" class="number">
        <input type="password" name="password" placeholder="密码" class="password">
        <button id="submit" type="button">登录</button>
      </form>
      <div class="sub">
        <a href="">忘了密码？</a>
        <span>|</span>
        <a href="">注册新帐号</a>
        <span>|</span>
        <a href="">意见反馈</a>
      </div>
    </div>
  </div>

</body>
<script src="./lib/js/home/jquery-1.9.0.min.js"></script>
<script src="./lib/js/home/TopModule.js"></script>
<script src="./lib/js/home/index.js"></script>
<script src="./lib/js/login/jquery-3.3.1.js"></script>
<script src="./lib/js/login/index.js"></script>
<script>
  // #region 用户登录
$('#submit').on('click', function () {
  let formData = $('.denglu').serialize();
  $.ajax({
    type: 'post',
    url: '/',
    data: formData,
    success: function (data) {
      if (data.code == '1000') {
        alert(data.message);
      } else if (data.code == '1001') {
        location.href = '/';
      }
    }
  })
})
  // $('#submit').on('click', function () {
  //   console.log(1)
  //   FormData = $('.denglu').serialize();
  //   $.ajax({
  //     type: 'post',
  //     url: '/login',
  //     data: FormData,
  //     beforeSend: function () {
  //       if ($('[name="number"]').val() == "" && $('[name="password"]').val() == "") {
  //         alert("请输入用户信息");
  //       } else {
  //         if ($('[name="number"]').val() == "") {
  //           alert("账号不能为空");
  //         }
  //         if ($('[name="password"]').val() == "") {
  //           alert("密码不能为空");
  //         }
  //       }
  //     }
  //     // success: function (data) {
  //     //   if(data)
  //     // }
  //   })
  // })

</script>
<!-- <script>
  $(function () {
    // 1.给id为form的表单添加校验
    $("#form").bootstrapValidator({
      feedbackIcons: {
        // 校验通过 显示 绿色的对号 图标
        valid: 'glyphicon glyphicon-ok',
        // 校验不通过  可以删除 的  显示红色的X 代表 校验没通过
        invalid: 'glyphicon glyphicon-remove',
        // 校验中...  转的刷新图标
        validating: 'glyphicon glyphicon-refresh'
      },
      // 提交按钮的id
      submitButtons: "#login",
      // 校验字段
      fields: {
        // 校验字段的键的名字 务必是 input的name属性的名字
        email: {
          validators: {
            notEmpty: {
              message: 'QQ号/邮箱/手机号不能为空'
            },
            stringLength: {
              min: "5",
              max: "20",
              message: "最短为4,最长为10"
            },
            regexp: {
              regexp: /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/,
              message: '您的QQ号/邮箱/手机号格式不正确'
            },
            callback: {}
          }
        },
        password: {
          validators: {
            notEmpty: {
              message: '密码不能为空！'
            },
            regexp: {
              regexp: /^[a-zA-Z0-9_]{1,20}$/,
              message: '只能为字母数字，最短1，最长20！'
            },
            callback: {}
          }
        }
      }
    }).on('success.form.bv', function (e) {
      e.preventDefault(); // 因为button的type是submit 所以该按钮有一个默认的提交事件 但是没有验证成功不能提交 因此阻止 
      var $form = $(e.target); // 就是form标签对应的对象 类似于 document.queryselect('#form标签的id')
      var bv = $form.data('bootstrapValidator'); // 获取bootstrapValidator对象
      $.ajax({
        type: 'post',
        url: '/login',
        data: $form.serialize(),
        success: function (data) {
          // console.log(data);
          if (data.code == '1000') {
            // location.href = '/admin/index'
            alert(data.message);
          }
        }
      })
    });
  })
</script> -->

</html>